package com.teng.dao;

import java.util.List;

import com.teng.model.Agency;

public interface AgencyDao {
		

	public int save(Agency agency);
	

	public int deleteUserById(int id);
	

	public int updateUserById(Agency agency);
	

	public Agency get(int i);
	

	public List<Agency> getAll();
	

	public int getCountByName(String aname);
	

	public List<Agency> find(String aname, String aphone);


	public Agency login(String username, String password);
}
